home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / gfx / lise2.1 / lise / src / aux_config.unix < prev    next >
Encoding:
Text File  |  1993-03-31  |  12.7 KB  |  301 lines

  1. ; This Configuration file describes the Auxillary Hardware Configuration.
  2. ; It should be read by every program, which tries to acces any Auxillary
  3. ; Hardware via the IEC bus.
  4. ; Home directory of this file is /src/lise/
  5. ; A local version in any directory superseeds the default file!
  6. ;
  7. ; organization:
  8. ;
  9. ; Any word, which starts with a `:` in the first column is a Keyword for this
  10. ; particular device. Then follows in this order on the next lines:
  11. ;
  12. ; 1) The device file.
  13. ; 2) a program to be called in the event of an error
  14. ; 3) an error message to be printed in the event of an error
  15. ; 4) a filename, to which spurious output should be directed
  16. ; 5) some device dependent information.
  17. ;
  18. ; This definition is stopped by an `#` in the first column.
  19. ;
  20. ; Choose printer:
  21. ; 1- assign choosen printer as ":defaultprinter"
  22. ; 2- rename old defaultprinter
  23. ; 3- if printer is HP-Deskjet500 on AMIGA choose "/tmp/rcp_tmp" as device file (2nd line)
  24. ;    in other cases (printer connected directly to HP) choose "/dev/lpraw"
  25. ; 4- the lp command allways uses the HP-printer!
  26. ;
  27. :gfx0
  28.   /tmp/tek.pipe@                    ; graphic communication pipe
  29.   /src/lise/fonts/trip.chr          ; primary vector font
  30.   6                                 ; initial x size
  31.   6                                 ; initial y size
  32.   /src/lise/fonts/symb.chr          ; secondary vector font
  33.   6                                 ; initial x size
  34.   6                                 ; initial y size
  35.   256000                            ; size of vector buffer
  36.   HP_DeskJet_1                      ; name of printerdriver
  37. #
  38. :gfx1
  39.   /tmp/tek.pipe1@                   ; graphic communication pipe
  40.   /src/lise/fonts/trip.chr          ; primary vector font
  41.   6                                 ; initial x size
  42.   6                                 ; initial y size
  43.   /src/lise/fonts/symb.chr          ; secondary vector font
  44.   6                                 ; initial x size
  45.   6                                 ; initial y size
  46.   256000                            ; size of vector buffer
  47.   HP_DeskJet_1                            ; name of printerdriver
  48. #
  49. :gfx2
  50.   /tmp/tek.pipe2@                   ; graphic communication pipe
  51.   /src/lise/fonts/trip.chr          ; primary vector font
  52.   6                                 ; initial x size
  53.   6                                 ; initial y size
  54.   /src/lise/fonts/symb.chr          ; secondary vector font
  55.   6                                 ; initial x size
  56.   6                                 ; initial y size
  57.   256000                            ; size of vector buffer
  58.   HP_DeskJet_1                            ; name of printerdriver
  59. #
  60. :gfx3
  61.   /tmp/tek.pipe3                     ; graphic communication pipe
  62.   /src/lise/fonts/trip.chr          ; primary vector font
  63.   6                                 ; initial x size
  64.   6                                 ; initial y size
  65.   /src/lise/fonts/symb.chr          ; secondary vector font
  66.   6                                 ; initial x size
  67.   6                                 ; initial y size
  68.   256000                            ; size of vector buffer
  69.   HP_DeskJet_1                            ; name of printerdriver
  70. #
  71. :gfx4
  72.   /tmp/tek.pipe4                     ; graphic communication pipe
  73.   /src/lise/fonts/trip.chr          ; primary vector font
  74.   6                                 ; initial x size
  75.   6                                 ; initial y size
  76.   /src/lise/fonts/symb.chr          ; secondary vector font
  77.   6                                 ; initial x size
  78.   6                                 ; initial y size
  79.   256000                            ; size of vector buffer
  80.   HP_DeskJet_1                            ; name of printerdriver
  81. #
  82. :halder
  83.   /dev/hpib/7a16                    ; hpib address is 16
  84.   echo Halder error >/dev/syscon    ; just print message on console window 
  85.   Halder error
  86.   /dev/null
  87.   8k                                ; 8k or 16k halder (4 or 5 digits)
  88.   PB                                ; command for print out (PB or PR)
  89.   DA                                ; command to send after printout
  90.   8k                                ; length of actual spectrum
  91. #
  92. :halder-BUTZ
  93.   /dev/hpib/7a16                    ; hpib address is 16
  94.   echo Halder error >/dev/syscon    ; just print message on console window 
  95.   Halder error
  96.   /dev/null
  97.   16k                               ; 8k or 16k halder (4 or 5 digits)
  98.   PR                                ; command for print out (PB or PR)
  99.   D1                                ; command to send after printout
  100.   8k                                ; length of actual spectrum
  101. #
  102. :auger
  103.    /dev/hpib/7a10
  104.    /usr/bin/X11/xdialog -p exclaim -m "AES error"
  105.    AES error
  106.    /dev/null
  107.    100               ; miliseconds delay (150)
  108.    0.0015             ; voltage increment (before ramp), 1 eV per step = 0.0025
  109.    0.06              ; starting voltage 0.06
  110.    3.0              ; end voltage = 3.0956 = 1 KeV (Max = 10 V = 3.2304 KeV)
  111.    323.04            ; energy calibration eV/V
  112.    1                ; read out Lock In 3 times and take mean value
  113.    40                ; update gfx every 30 seconds
  114. /tmp/augertmp     ; temporary spectrum name for gfx
  115. /src/aes/augergfx.bat; macro to call after update intervall
  116. #
  117. :EpsonX
  118.   /dev/lpraw                              ; Epson compatible
  119.   echo PRINTER error >/dev/syscon    ; just print message on console window
  120.   PRINTER error
  121.   /dev/null
  122.   IGNORE                            ; optional command after printing (NET)
  123.   3                                 ; number of passes
  124.   1                                 ; number of dot image characters lsb msb
  125.   1800                              ; x_size printer
  126.   800                               ; y_size printer
  127.   \x1B@                             ; printer initialize
  128.   \x1BL                             ; printer double density grafic
  129.   \x1B3\x01\n                       ; initiate half dot line feed
  130.   \x1B3\x15\n                       ; initiate full line feed
  131.   \x1B@\x0C                         ; send after printing
  132. #
  133. :QuietJet_UX
  134.   /dev/lpraw                        ; HP Quiet Jet
  135.   echo PRINTER error >/dev/syscon   ; just print message on console window
  136.   PRINTER error
  137.   /dev/null
  138.   IGNORE                            ; optional command after printing (NET)
  139.   2                                 ; number of passes
  140.   2                                 ; HP Mode Raster graphic in rows
  141.   1800                              ; x_size printer
  142.   1200                              ; y_size printer
  143.   \x1B*t192R\x1B*rA                 ; select quad density graphics
  144.   \x1B*b225W                        ; printer double density grafic
  145.   \x00                              ; initiate half dot line feed
  146.   \x00                              ; initiate full line feed
  147.   \x1B*rB                           ; send after printing
  148. #
  149. :HP_DeskJet_1
  150.   /dev/lpraw                        ; HP DeskJet 500
  151.   echo PRINTER error >/dev/syscon   ; just print message on console window
  152.   PRINTER error
  153.   /dev/null
  154.   IGNORE                            ; optional command after printing (NET)
  155.   2                                 ; number of passes
  156.   3                                 ; HP DeskJet mode LandScape
  157.   3200                              ; x_size printer
  158.   2400                              ; y_size printer
  159.   \x1B*t300R\x1B*rA                 ; select quad density graphics
  160.   \x1B*b300W                        ; printer double density grafic
  161.   \x00                              ; initiate half dot line feed
  162.   \x00                              ; initiate full line feed
  163.   \x1B*rbC\x0c                      ; send after printing
  164. #
  165. :HP_DeskJet_2
  166.   /dev/lpraw                              ; HP DeskJet 500
  167.   echo PRINTER error >/dev/syscon   ; just print message on console window
  168.   PRINTER error
  169.   /dev/null
  170.   IGNORE                            ; optional command after printing (NET)
  171.   2                                 ; number of passes
  172.   2                                 ; HP QuietJet mode (DeskJet portrait)
  173.   2400                              ; x_size printer
  174.   1600                               ; y_size printer
  175.   \x1B*t300R\x1B*rA                 ; select quad density graphics
  176.   \x1B*b300W                        ; printer double density grafic
  177.   \x00                              ; initiate half dot line feed
  178.   \x00                              ; initiate full line feed
  179.   \x1B*rbC\x0c                      ; send after printing
  180. #
  181. :HP_DeskJet_NET
  182.   /tmp/rcp.tmp                      ; HP DeskJet 500
  183.   echo PRINTER error >/dev/syscon   ; just print message on console window
  184.   PRINTER error
  185.   /dev/null
  186.   /usr/bin/remote_print /tmp/rcp.tmp ; printing on Network
  187.   2                                 ; number of passes
  188.   3                                 ; HP DeskJet mode LandScape
  189.   3200                              ; x_size printer
  190.   2400                              ; y_size printer
  191.   \x1B*t300R\x1B*rA                 ; select quad density graphics
  192.   \x1B*b300W                        ; printer double density grafic
  193.   \x00                              ; initiate half dot line feed
  194.   \x00                              ; initiate full line feed
  195.   \x1B*rbC\x0c                      ; send after printing
  196. #
  197. :PostScript
  198.   ram:lise.ps                       ; Postscript output
  199.   echo PRINTER error >/dev/syscon   ; just print message on console window
  200.   PRINTER error
  201.   /dev/null
  202.   IGNORE                            ; optional command after printing (NET)
  203.   2                                 ; doesn't matter
  204.   10                                ; Identify Postscript
  205.   12                                ; x_factor (int / 100)
  206.   12                                ; y_factor (int / 100)
  207. #
  208. :Plotter
  209.   :                              ; HP-GL output
  210.   echo PRINTER error >/dev/syscon   ; just print message on console window
  211.   PRINTER error
  212.   /dev/null
  213.   IGNORE                            ; optional command after printing (NET)
  214.   2                                 ; doesn't matter
  215.   11                                ; Identify HP-GL
  216.   225                               ; x_factor (int / 100)
  217.   225                               ; y_factor (int / 100)
  218. #
  219. :samp
  220.    /dev/null
  221.    /src/bnmr/errhandler "SAMPling ERROR" /tmp/lasterr
  222.    NMR error
  223. /tmp/lasterr
  224. /tmp/samppipe.in
  225. /tmp/samppipe.out
  226. /tmp/samppipe.cmds
  227. pvmnmr  ; host name of VME CPU
  228. hp;                                  user account
  229. jaja;                                and password
  230. rscale GATEON;                      programm to be called
  231. logout;                              command to terminate VME session
  232. /src/bnmr/setup.dat;                 experiment definition file
  233. /src/bnmr/magnet -set %f;            command to set magnetic field 
  234. #
  235. :mult
  236.    /dev/null
  237.    /src/bnmr/errhandler "MULTiscale ERROR" /tmp/lasterr
  238.    multiscale error
  239. /tmp/lasterr
  240. /tmp/multpipe.in
  241. /tmp/multpipe.out
  242. /tmp/multpipe.cmds
  243. pvmnmr ; /dev/tty00 ; or pvmnmr host name of VME CPU
  244. hp;                                  user account
  245. jaja;                                and password
  246. mscale %d %d;                        programm to be called
  247. logout;                              command to terminate VME session
  248. /src/bnmr/setup.dat;                 experiment definition file
  249. /src/bnmr/magnet -set %f;            command to set magnetic field 
  250. #
  251. :kras
  252.    /dev/null
  253.    /src/bnmr/errhandler "KRAS ERROR" /tmp/lasterr
  254.    NMR error
  255. /tmp/lasterr
  256. /tmp/kraspipe.in
  257. /tmp/kraspipe.out
  258. /tmp/kraspipe.cmds
  259. pvmnmr  ; host name of VME CPU
  260. hp;                                  user account
  261. jaja;                                and password
  262. rscale GATEON;                      programm to be called
  263. logout;                              command to terminate VME session
  264. /src/bnmr/setup.dat;                 experiment definition file
  265. /src/bnmr/magnet -set %f;            command to set magnetic field 
  266. #
  267. :MARCONI
  268.    /dev/hpib/7a11
  269.    /src/bnmr/errhandler "Marconi Frequency Generator ERROR" /tmp/lasterr
  270.    Marconi Frequency Generator error
  271. /tmp/lasterr
  272. CFRQ:VALUE %fMHZ\n ; command to set Frequency in MHz
  273. CFRQ:INC %fMHZ\n ; command to set increment in MHz
  274. RFLV:VALUE %fMV\n ; command to set Amplitude in mV
  275. FM:DEVN %fKHZ\n ; command to set FM-Hub in kHz
  276. INTF4:FREQ %fKHZ\n ; command to set Modulation Frequency in kHz
  277. FM:ON\n ; command to turn Modulation on
  278. FM:OFF\n ; command to turn Modulation off
  279. #
  280. :RuS_SMGU
  281.    /dev/hpib/7a12
  282.    /src/bnmr/errhandler "R&S Frequency Generator ERROR" /tmp/lasterr
  283.    R&S Frequency Generator error
  284. /tmp/lasterr
  285. RF %f MHZ\n ; command to set Frequency in MHz
  286. AM:OFF\n ; command to set increment in MHz
  287. L %f  MV\n ; command to set Amplitude in mV
  288. FM %f KHZ\nFM:E:D\n ; command to set FM-Hub in kHz
  289. AF %f KHZ\n ; command to set Modulation Frequency in kHz
  290. AM %d PCT\nAM:E:D\n ; command to set Amplitude Modulation in percent
  291. FM:E:D\n ; command to turn Modulation on
  292. FM:OFF\n ; command to turn Modulation off
  293. #
  294. :magnet
  295.    /dev/hpib/7a13
  296.    /src/bnmr/errhandler "MAGNET error" /tmp/lasterr
  297.    Magnet error
  298. /tmp/lasterr
  299. 1.0; scaling factor to G
  300. #
  301.